package cn.sangyy.gift.mapper;

import cn.sangyy.gift.domain.Tenant;
import cn.sangyy.gift.query.TenantQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sangyangyang
 * @since 2023-03-23
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    /**
    * @author Sangyy
    * 分页高级关联查
    */
    List<Tenant> selectPageList(Page<Tenant> page, TenantQuery query);
    /**
    * @author Sangyy
    * 通过id查询
    */
    Tenant getById(Long id);

    void adTenantMeal(HashMap<String, Object> params);
}
